<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta name="google-site-verification" content="EsepA0P7DwqW4Sl4nbRBicq3ieXXCEAYL-ID2x6ajtk" />
    <META name="y_key" content="236bc15ffcbfd131" />
    <meta name="msvalidate.01" content="128A4883E7558129DB2B4D6F00DA5610" />
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <meta name="verify-v1" content="/1ye9S3fYnPSK8ACXckjCRvhk322Z8WST4ty0ksoZKc=" />
    <%= stylesheet_link_tag 'application' %>
    <%= stylesheet_link_tag 'screen' %>
    <%=  javascript_include_tag "application" %>
    <%= yield(:head) %>
       
    <title>NoiseTube</title>
    <link rel="shortcut icon" href="/images/NoiseTube.ico"/>
    <style type="text/css">
      <!--
      .Style1 {
        font-size: 100%;
        font-weight: bold;
      }
      .Style2 {font-size: 18px}
      
     #test tbody th
      {
        background            : #FFF url(th_bck.gif) repeat-x;
        color                 : #666;  
        padding               : 5px 10px;
        border-left           : 1px solid #CCC;
      }
     #test tbody th
      {
        background            : #fafafb;
        border-top            : 1px solid #CCC;
        text-align            : left;
        font-weight           : normal;
      }
      #test tbody tr td
      {
        padding               : 5px 10px;
        color                 : #666;
      }
      #test tbody tr:hover
      {
        background            : #FFF url(tr_bck.gif) repeat;
      }
      
      -->
    </style>
    
    <!-- GOOGLE ANALYTICS -->
    	
  <!-- END GOOGLE ANALYTICS --> 
 </head>

  <body <%= " onload='#{@onload}' " unless @onload.nil?  %> <%= " onunload='#{@onunload}' " unless @onunload.nil?  %> >
    <div id="container">
    <div class="row">
      <table>
        <tr>
          <td>
            <a href="http://www.noisetube.net/"><img src="/images/noisetubelogo.png" /></a>
          </td>
      <td align="right" style="width:500px"></td></tr></table>

        <div id="navs">
         <!--        <div style="color:red"><h2><b>Maintenance Mode: We are currently moving the server.Sorry for the inconvenient.</b></h2></div>
-->
    <div class="clearfix" style="float:left;">
      <ul id="nav" class="cartMenu">
              <li><a href="/">About</a><!-- &nbsp;<a href="/?locale=fr"><img src="/images/icons/french_flag.gif"/></a> <a href="/?locale=en"><img src="/images/icons/english_flag.gif"/></a> --></li>
              <li><a href="/cities">Cities</a>
              <% if iscopeadmin? %>
                <ul>
                  <li><%= link_to (t 'menu.cities.custommaps'), :controller => 'cities', :action => 'custommaps', :format => "html" %></a></li>
                  </ul>
              <% end %>
              </li>
              <li><a href="/users">People</a></li>
              <li><a href="/tags/index">Tags</a></li>
              <li><a href="/download">Download</a></li>
              <li><a href="/api_overview">API</a></li>
              <% if logged_in? %>
                <li><%= link_to 'Your Elog', :controller => 'users', :action=>"show", :id => current_user  %></li>
                <li><%= link_to 'Your Profile', :controller => 'users', :action=>"edit", :id => current_user  %></li>
                <li><%= link_to 'Logout', logout_path %></li>
              <% else %>
                <li><a href="/signup">Join!</a></li>
                <li><%= link_to 'Login', login_path %></li>
              <% end %>
            </ul>
          </div>

          <div class="clearfix" style="float:right;">
            <ul id="nav" class="cartMenu">
              <li><a href="/help">Help</a></li>
              <li><a href="/publications">Publications</a></li>
              <li><a href="/team">Team</a></li>
          </ul></div>
        </div>
      </div>
      
      <div class="row">
        <hr/><br/>
        <%=  yield%>
		<!-- ToDo Remove this -->
      </div>
       
      <div class="row" id="footer">
        <hr/>
        <center>
          <p>2008-2014 - <a href="http://www.csl.sony.fr">Sony Computer Science Laboratory Paris</a> &amp; <a href="http://www.brussense.be">VUB BrusSense group</a><br/>
          Source code available under <a href="http://www.gnu.org/licenses/lgpl-2.1.html">GNU LGPL v2.1</a> license and hosted on <a href="http://code.google.com/p/noisetube">Google Code</a>. Cartasur users <a href="/cartasur/">click here</a>.</p>
          <div style="align:center;position:relative;text-align:left;width:500px">
            <div style="position:relative;float:left;width:100px"><a rel="license" href="http://creativecommons.org/licenses/by/3.0/"><img src="http://i.creativecommons.org/l/by/3.0/88x31.png" alt="Creative Commons License" style="border: medium none;" height="31" width="88"/></a></div>
            <div>Except where otherwise noted, content on this site is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/" class="subfoot">Creative Commons Attribution 3.0 License</a></div>
          </div>
        </center>
        <br/><br/>
      </div>
      
    </div>
  </body>
</html>
